#pragma once


// CRankDlg dialog
#include "resource.h"
#include "afxwin.h"

class CRankDlg : public CDialog
{
	DECLARE_DYNAMIC(CRankDlg)

public:
	CRankDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CRankDlg();

// Dialog Data
	enum { IDD = IDD_RANK_DLG };
public:
	void ShowText(char *);
	void SetTime(int);
	void SetComBoxSel(int i){m_com_sel = i;}
	int GetTime(){return m_time;}
	CString GetNewName(){return m_new_name;}
private:
	CFont *m_font;
	int m_time;
	int m_com_sel;
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CString m_text;
	CComboBox m_combox;
	CString m_new_name;
	afx_msg void OnBnClickedOk();
	virtual BOOL OnInitDialog();
	afx_msg void OnCbnSelchangeComboLevel();
};
